package com.example.aboutwork.controller;

import com.example.aboutwork.bean.BeanSet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/bean/set1/")
public class BeanSet1Controller {

    @Autowired
    BeanSet beanSet;

    @GetMapping
    public Object get() {
        return beanSet;
    }


}
